package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 鉴定记录
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2022-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("appraisal_goods")
@ApiModel(value="AppraisalGoods对象", description="鉴定记录")
public class AppraisalGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "鉴定记录表id")
    @TableId(value = "appraisal_goods_id", type = IdType.AUTO)
    private Integer appraisalGoodsId;

    @ApiModelProperty(value = "正品还是赝品")
    @TableField("appraisal_goods_result")
    private String appraisalGoodsResult;

    @ApiModelProperty(value = "新旧程度（几成新）")
    @TableField("appraisal_goods_quality")
    private Integer appraisalGoodsQuality;

    @ApiModelProperty(value = "评估人")
    @TableField("appraisal_goods_name")
    private String appraisalGoodsName;

    @ApiModelProperty(value = "鉴定时间")
    @TableField("appraisal_goods_time")
    private String appraisalGoodsTime;

    @ApiModelProperty(value = "备注")
    @TableField("appraisal_goods_message")
    private String appraisalGoodsMessage;

    @ApiModelProperty(value = "鉴定状态：默认0未鉴定 1：已鉴定")
    @TableField("appraisal_goods_status")
    private Integer appraisalGoodsStatus;

    @ApiModelProperty(value = "关联商品id")
    @TableField("commodity_table_id")
    private Integer commodityTableId;

    @ApiModelProperty(value = "鉴定图 以json字符串形式存储 默认无")
    @TableField("appraisal_goods_picture")
    private String appraisalGoodsPicture;


}
